package com.aerotechnic.tests;

import com.aerotechnic.bo.UserBo;
import com.aerotechnic.models.User;
import com.aerotechnic.util.LoadBeans;

public class UserTests {
	public static void main(String [] args){
		UserBo userBo = (UserBo) LoadBeans.getUserBO();
		// instanciating user object
		
		User user = new User();
		user.setLogin("elmehdi.ghaffari");
		user.setNom("ghaffari");
		user.setPrenom("el mehdi");
		user.setPassword("65581990");
		user.setProfile("Agent Planning");
		// let's save
		
		userBo.save(user);
	}

}
